export const personalInfoFields = {
  name: { show: true, label: '姓名', edit: true, type: 'text', required: true },
  sex: { show: true, label: '性别', edit: true, type: 'radio', options: ['男', '女'] },
  age: { show: true, label: '年龄', edit: true, type: 'number' },
  idNumber: { show: true, label: '身份证号', edit: true, type: 'text' },
  phone: { show: true, label: '联系电话', edit: true, type: 'text' },
  address: { show: true, label: '居住地址', edit: true, type: 'textarea' },
  bloodType: { show: true, label: '血型', edit: true, type: 'picker', options: ['A型', 'B型', 'AB型', 'O型'] },
  height: { show: true, label: '身高(cm)', edit: true, type: 'number' },
  weight: { show: true, label: '体重(kg)', edit: true, type: 'number' },
  bmi: { show: true, label: 'BMI指数', edit: true, type: 'number' },
  emergencyContact: { show: true, label: '紧急联系人', edit: true, type: 'text' },
  emergencyPhone: { show: true, label: '紧急电话', edit: true, type: 'text' },
  note: { show: true, label: '备注', edit: true, type: 'textarea' },
  createTime: { show: true, label: '创建时间', edit: false, type: 'date' },
  createBy: { show: true, label: '创建人', edit: false, type: 'text' },
  id: { show: false, label: '主键ID', edit: false, type: 'text' }
}
